<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 600px;
            height: 400px;

            /*background-color: #ccc;*/
            /*background-image: url("./images/2.png");*/
            /*background-repeat: no-repeat;*/
            /*background-position: right top;*/
            /*background-position: 200px 100px;*/
            background: #ccc url("./images/2.png") no-repeat  200px 100px;
        }
        li{
            list-style: none;

            float: left;

            width: 100px;
            height: 40px;
            background: #ccc;
            text-align: center;
            line-height: 40px;
        }

        h3{
            /* 清除：不允许旁边出现浮动元素 */
            clear: both;

            /*display: none;*/
            display: inline;
            
        }

        span{
            /*display: block;*/
            display: inline-block;

            background: pink;
            width: 100px;
            height: 100px;

            /*
                行级元素，默认是不能设置宽和高的！！！！
            */
        }
        .btn{
            background: #4e6ef2;
            width: 150px;
            height: 40px;
            display: inline-block;
            text-align: center;
            line-height: 40px;
            text-decoration: none;
            color: #fff;
            font-weight: bold;
            /* 圆角 */
            border-radius: 6px;
        }
        .btn:hover{
            background: #2d47f2;
        }
    </style>
</head>
<body>
    <div>

    </div>

    <!--ul>li{li$}*6-->
    <ul>
        <li>li1</li>
        <li>li2</li>
        <li>li3</li>
        <li>li4</li>
        <li>li5</li>
        <li>li6</li>
    </ul>
    <p style="clear: both;"></p>

    <h3>哈哈</h3> aaaaa

    <span>嘿嘿</span> bbbbb

    <a href="" class="btn">登陆</a>

</body>
</html>